@var js = {
@include("../../partial/_listJs.html"){}
<script src="${CONTEXT_PATH}/res/js/ctl/user.js?t=${timestamp!'9527'}"></script>
@};
@var search={
<div class="form-group">
	<label for="s_login_name">登录名：</label>
    <input name="s_login_name" class="form-control" type="text" placeholder="登录名">
</div>
<div class="form-group">
	<label for="s_real_name">真实姓名：</label>
    <input name="s_real_name" class="form-control" type="text" placeholder="真实姓">
</div>
<div class="form-group">
	<label for="s_role">角色：</label>
	<select name="s_role" class="form-control">
	<option value="">不限</option>
		@for(r in ROLES){
			<option value="${r.IDENT}">${r.NAME}</option>
		@}
	</select>
</div>
@};
@var delUrl = "system/userss/delete";
@var toolbar = {
<tp:toolbtn id="addRoleBtn" text="新增" icon="glyphicon glyphicon-plus" event="onClick='clearModalDialog()' data-target='#addRoleDialog' data-toggle='modal'"/>
<tp:toolbtn id="delRoleBtn" text="删除" icon="glyphicon glyphicon-remove" class="btn-danger" event='onClick="del(&#39;${delUrl}&#39;)"' />
@};
@layout("../../layout/_aceLayout.html", {extJs:js, pageUrl:"system/roles"}){
@include("../../partial/_toolbar.html", {form:search, buttons:toolbar}){}
@include("_editUser.html", {formId:"addUserForm", dialogId:"addUserDialog"}){}
<table id="jqGrid"></table>
<div id="jqGridPager"></div>
@};
